/**
* @author AlbertDarren
* @contact 2563491540@qq.com
*/
#include <cstdio>

using namespace std;
int max2(int a, int b)
{
    return a>b?a:b;
}
int max3(int a, int b, int c)
{
    return max2(a,b)>c?max2(a,b):c;
}
int main_50()
{
    int a,b,c;
    scanf("%d%d%d",&a,&b,&c);
    printf("%d\n",max3(a,b,c));
	return 0;
}
